package com.rabbit.work.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.rabbit.work.mapper.ProductMapper;
import com.rabbit.work.po.Product;
import com.rabbit.work.service.IProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductServiceImpl implements IProductService {
    @Autowired
    private ProductMapper productMapper;

    public List<Product> prodList()
    {
        return productMapper.selectList(new QueryWrapper<>());
    }
}
